//
//  YYCache+SLAdd.h
//  AFNetworking
//
//  Created by 陈镇 on 9/1/20.
//

#import <YYCache/YYCache.h>

NS_ASSUME_NONNULL_BEGIN

@interface YYCache (SLAdd)

- (void)sl_setObject:(nullable id<NSCoding>)object inSetForKey:(nonnull NSString *)key;
- (void)sl_removeObject:(nullable id<NSCoding>)object inSetForKey:(nonnull NSString *)key;
- (BOOL)sl_containsObject:(nullable id<NSCoding>)object inSetForKey:(nonnull NSString *)key;



- (void)sl_indexObject:(nullable id<NSCoding>)object index:(NSInteger)index inArrayForKey:(nonnull NSString *)key;
- (void)sl_setObject:(nullable id<NSCoding>)object inArrayForKey:(nonnull NSString *)key;
- (void)sl_removeObject:(nullable id<NSCoding>)object inArrayForKey:(nonnull NSString *)key;
- (BOOL)sl_containsObject:(nullable id<NSCoding>)object inArrayForKey:(nonnull NSString *)key;



@end

NS_ASSUME_NONNULL_END
